<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>门诊二类苗进销存管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			//$("#name").focus();
			$("#inputForm").validate({
				submitHandler: function(form){
					loading('正在提交，请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误，请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			});
		});
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/expsecondjxc/expSecondjxc">门诊二类苗进销存列表</a></li>
		<li class="active"><a href="${ctx}/expsecondjxc/expVacc/form?id=${expSecondjxc.id}">门诊二类苗进销存<shiro:hasPermission name="departmentvacc:expVacc72:edit">${not empty expSecondjxc.id?'修改':'添加'}</shiro:hasPermission><shiro:lacksPermission name="expscondjxc:expVacc:edit">查看</shiro:lacksPermission></a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="expSecondjxc" action="${ctx}/expsecondjxc/expSecondjxc/save" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<sys:message content="${message}"/>		
		<div class="control-group">
			<label class="control-label">疫苗编码：</label>
			<div class="controls">
				<form:input path="vaccineid" htmlEscape="false" maxlength="10" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">疫苗批号：</label>
			<div class="controls">
				<form:input path="batchno" htmlEscape="false" maxlength="20" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">疫苗厂家：</label>
			<div class="controls">
				<form:input path="manufacturercode" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">上月预售数：</label>
			<div class="controls">
				<form:input path="lastwcount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">上月结余数：</label>
			<div class="controls">
				<form:input path="lastjcount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">上月库存金额：</label>
			<div class="controls">
				<form:input path="lastmoney" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">本月领苗数：</label>
			<div class="controls">
				<form:input path="income" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">本月领苗金额：</label>
			<div class="controls">
				<form:input path="incomemoney" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">本月售苗数：</label>
			<div class="controls">
				<form:input path="sellcount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">售苗成本：</label>
			<div class="controls">
				<form:input path="sellcost" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">售苗收入：</label>
			<div class="controls">
				<form:input path="sellincome" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">接种书：</label>
			<div class="controls">
				<form:input path="vacccount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">接种成本：</label>
			<div class="controls">
				<form:input path="vacccost" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">接种收入：</label>
			<div class="controls">
				<form:input path="vaccincome" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">优惠数：</label>
			<div class="controls">
				<form:input path="discount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">报废数：</label>
			<div class="controls">
				<form:input path="baofei" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">本月预售：</label>
			<div class="controls">
				<form:input path="nwcount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">本月结余：</label>
			<div class="controls">
				<form:input path="njcount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">本月总库存：</label>
			<div class="controls">
				<form:input path="nalcount" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">库存金额：</label>
			<div class="controls">
				<form:input path="nmoney" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">remarks：</label>
			<div class="controls">
				<form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="250" class="input-xxlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">localcode：</label>
			<div class="controls">
				<form:input path="localcode" htmlEscape="false" maxlength="32" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">成本单价：</label>
			<div class="controls">
				<form:input path="costprice" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">销售单价：</label>
			<div class="controls">
				<form:input path="sellprice" htmlEscape="false" maxlength="18" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">报表月份：</label>
			<div class="controls">
				<form:input path="yearmonth" htmlEscape="false" maxlength="32" class="input-xlarge "/>
			</div>
		</div>
		<div class="form-actions">
			<shiro:hasPermission name="expscondjxc:expVacc:edit"><input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;</shiro:hasPermission>
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>
</body>
</html>